package ins.wink.entity;

import java.io.Serializable;

/**
 * 物品实体
 * @author ASUS
 *
 */
public class Goods implements Serializable{
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Goods [id=" + id + ", amount=" + amount + ", goodname=" + goodname + ", nm=" + nm + ", unit=" + unit
				+ ", storeid=" + storeid + "]";
	}
	/**
	 * 反序列化放值数据加载不到
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private Double amount;
	private String goodname;
	private String nm;
	private String unit;
	private String storeid;
	public Goods() {
		// TODO Auto-generated constructor stub
	}
	public Goods(String id, Double amount, String goodname, String nm, String unit, String storeid) {
		super();
		this.id = id;
		this.amount = amount;
		this.goodname = goodname;
		this.nm = nm;
		this.unit = unit;
		this.storeid = storeid;
	}
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the amount
	 */
	public Double getAmount() {
		return amount;
	}
	/**
	 * @param amount the amount to set
	 */
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * @return the goodname
	 */
	public String getGoodname() {
		return goodname;
	}
	/**
	 * @param goodname the goodname to set
	 */
	public void setGoodname(String goodname) {
		this.goodname = goodname;
	}
	/**
	 * @return the nm
	 */
	public String getNm() {
		return nm;
	}
	/**
	 * @param nm the nm to set
	 */
	public void setNm(String nm) {
		this.nm = nm;
	}
	/**
	 * @return the unit
	 */
	public String getUnit() {
		return unit;
	}
	/**
	 * @param unit the unit to set
	 */
	public void setUnit(String unit) {
		this.unit = unit;
	}
	/**
	 * @return the storeid
	 */
	public String getStoreid() {
		return storeid;
	}
	/**
	 * @param storeid the storeid to set
	 */
	public void setStoreid(String storeid) {
		this.storeid = storeid;
	}
	
}
